home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Gold Medal Software 3
/
Gold Medal Software - Volume 3 (Gold Medal) (1994).iso
/
print
/
masdir54.arj
/
DRDOS.EXE
/
SDLDEBUG.BAT
next >
Wrap
DOS Batch File
|
1991-02-15
|
2KB
|
53 lines
ECHO OFF
: SDLDEBUG.BAT for DR DOS Version 5.0
IF (%1)==(END) GOTO NOCHANGE
IF EXIST SDLSETUP.TXT GOTO TXTOK
ECHO Unable to locate the text file to use with DEBUG.
ECHO Please run SDLSETUP to create the necessary file.
:NOCHANGE
ECHO * * *
ECHO NO CHANGES HAVE BEEN MADE TO SDL.COM!
:pause
GOTO END
:TXTOK
sdl_get F SDLSETUP.TXT
IF %GET% == 0 GOTO NOCHANGE
: *********************************
:ECHO W >>SDLSETUP.TXT This is now done in SDLFINIS.BAT.
ECHO Q>>SDLSETUP.TXT
ECHO Input processing complete, now updating SDL.COM . . .
: *********************************
SID <SDLSETUP.TXT >DEBUG.TST
IF EXIST DEBUG.TST GOTO OK
ECHO * * *
ECHO Using the DOS DEBUG command appears to have failed!
ECHO DEBUG may not be on a valid disk drive on your system, or
ECHO you may not have a path to DEBUG. Please check the
ECHO directories on your path for the existence of DEBUG.COM.
ECHO If you can establish a path to DEBUG or copy DEBUG.COM
ECHO to this working area, you can install the changes you
ECHO have just made by entering SDLDEBUG.
GOTO END
:OK
ERASE DEBUG.TST
ECHO * * *
ECHO SDL.COM has been modified.
ECHO Don't forget to COPY your new version of SDL.COM
ECHO to the disk and/or directory with your other DOS
ECHO commands and utilities.
:END
*********************************
IF EXIST SDL*.TXT ERASE SDL*.TXT >NUL
SET GET=
SET $=
if not exist INSTALL.BAT goto ISMOD
ECHO * * *
Echo Would you like to run INSTALL to copy your modified version of
Echo SDL.COM to the directory of your choice?
SDL_GET N "Enter Y to run INSTALL, N to exit to DOS? "
if errorlevel 89 if not errorlevel 90 INSTALL
:ISMOD
if not exist INSTALL.BAT pause
if exist menu.bat menu
ECHO Exiting to DOS ...